var user = Ext.regModel('AppUser', {
	fields : [{
		name: 'id', 
		type: 'Long'
	},{
		name: 'firstName', 
		type: 'string'
	},{
		name: 'lastName', 
		type: 'string'
	},{
		name: 'userId', 
		type: 'string'
	},{
		name: 'password', 
		type: 'string'
	},{		
		name: 'dob', 
		type: 'date'
	},{
		name: 'sex', 
		type: 'string'
	},{
		name: 'emailId', 
		type: 'string'
	},{
		name: 'createdBy', 
		type: 'string'
	},{
		name: 'updatedBy', 
		type: 'string'
	}
	], 
	proxy: {
		type: 'rest', 
		url: '/user/save',
		reader: {
			type: 'json',
			root: 'users'
		}
	}
});